package Year2021.Month11.Day1Homework.Day2;

public class TV {
    private String color;
    private int price;
    private int size;

    public TV(String color, int price, int size) {
        this.color = color;
        this.price = price;
        this.size = size;
    }
    public void show(){
        System.out.println("这个电视剧尺寸是"+size+"寸"+"\t"+"颜色是"+color+"\t"+"价格是"+price+"元");
    }

}
